Logging

It has been suggested that in XDoclet2 we ditch commons-logging and use plain log4j. Matthew Newcomb had an idea: We can use Ant's built-in logging. That makes it easy to turn on/off logging by using regular Ant swithces like -v.

However, one other goal is that XDoclet be totally decoupled from Ant.

We can still use Ant logging if we reconsider using commons-logging. Then we could write a bridge from commons-logging to Ant's logging API. If XDoclet is run from Ant, the Ant task will just configure commons-logging to use the Ant bridge.

So let's continue with commons-logging.